package Modele;


import java.util.ArrayList;

public class Menu {
	
	private ArrayList<Plat> Menu;
	
	public Menu()
	{
		 Menu = new ArrayList<Plat>();
	}
	
	public void ajouterPlat(String NomPlat, String DescriptionPlat, double PrixPlat)
	{
		Plat oPlat = new Plat(NomPlat, DescriptionPlat, PrixPlat);
		this.Menu.add(oPlat);
	}
	
	public int quantitePlat()
	{
		return this.Menu.size();
	}
	
	public Plat getPlat(int index)
	{
		return this.Menu.get(index);
	}
}